<div class="path"><i class="iconfont">&#xf108;</i>  <a href="{url('admin/default/welcome')}">开始</a> {$sitename} / <a href="{url('index/index')}">广告位管理</a> / <a href="{url('adlook/index',array('id' => $id))}">{$info['title']}</a></div>
<div class="m10">
<div class="table-head fn-clear">
    <div class="fn-l"><a href="{url('index/index')}" class="button"> <i class="iconfont">&#xf053;</i> 返回</a><strong>{$info['title']}</strong>  </div>
    <div class="fn-r"><a href="{url('adlook/edit',array('ad'=>$id))}" class="button button-blue"> <i class="iconfont" title="广告位">&#xf055;</i> 添加广告位</a></div>
</div>
<table class="table">
<thead>
    <tr>
        <th class="fn-tac w60">#</th>
        <th class="w150">广告位名称</th>
        <th>广告内容</th>
        <th class="fn-tac w80">点击次</th>
        <th class="fn-tac w120">投放开始时间</th>
        <th class="fn-tac w120">投放结束时间</th>
        <th class="fn-tac w120">更新时间</th>
        <th class="fn-tac w120">操作</th>
    </tr>
</thead>
<tbody>
{loop $list $vo}
<tr>
    <td class="fn-tac">{$vo['id']}</td>
    <td>{$vo['name']}</td>
    <td>{$vo['content']}</td>
    <td class="fn-tac">{$vo['views']}</td>
    <td class="fn-tac">{date('Y-m-d',$vo['starttime'])}</td>
    <td class="fn-tac">{date('Y-m-d',$vo['endtime'])}</td>
    <td class="fn-tac">{date('Y-m-d',$vo['uptime'])}</td>
    <td class="fn-tac tip">
    <a title="编辑" href="{url('adlook/edit',array('ad'=>$id,id=>$vo['id']))}">编辑</a> / 
    <a href="###" class="del" title="删除" url="{url('adlook/index',array(id=>$vo['id'],act=>del))}">删除</a></td>
</tr>
{/loop}
</tbody>
</table>
<div id="page" class="fn-clear">{$pager}</div>
</div>
<script type="text/javascript">
Do('base','dialog',function(){
  $('.del').click(function(){$(this).del();});
})
</script>